package com.zm.demo.biz;

import lombok.Data;

@Data
public class BizException extends Exception{
    Object data;
    public BizException(String message,Object data) {
        super(message);
        this.data=data;
    }

    public BizException(String message, Throwable cause,Object data) {
        super(message, cause);
        this.data=data;
    }
}
